home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickTime™ VR 2.0 SDK / QTVR C⁄C++ Runtime API / Sample Code / QTVRSamplePlayer / src / appmenus.h < prev    next >
Encoding:
Text File  |  1997-05-22  |  543 b   |  48 lines  |  [TEXT/CWIE]

  1. // Application's menu constants and code (menus.c)
  2.  
  3. #ifndef __APPMENUS__
  4. #define __APPMENUS__
  5.  
  6. // Application-specific headers
  7.  
  8. // API headers
  9.  
  10. // System headers
  11.  
  12.  
  13. // Menu constants
  14.  
  15. // Menu IDs
  16. enum    {
  17.     AppleMenuID = 128,
  18.     FileMenuID,
  19.     EditMenuID
  20. };
  21.  
  22. // Apple Menu
  23. enum {
  24.     iAppleAbout = 1
  25. };
  26.  
  27. // File Menu
  28. enum {
  29.     iFileOpen = 1,
  30.     iFileClose,
  31.     iFileSave,    
  32.     iFileSaveAs,
  33.     iMenuSeparator200,
  34.     iFileQuit
  35. };
  36.  
  37. // Edit Menu
  38. enum {
  39.     iEditUndo = 1,
  40.     iMenuSeparator201,
  41.     iEditCut,
  42.     iEditCopy,
  43.     iEditPaste,
  44.     iEditClear
  45. };
  46.  
  47. #endif    // #ifndef __APPMENUS__
  48.